<div style="color:yellow;background:green;width:25%;float:left;font-size:16px;">
<?php
$user=$_SESSION['username'];
$query="select iron_stock,wood_stock,rock_stock,base_iron,base_wood,base_rock,pop,max_pop from towns where owner='$user'";
$result=mysql_query($query,$con) or Die (mysql_error());
$row=mysql_fetch_array($result) or Die (mysql_error());
echo "Iron = ".$row['iron_stock']." (+".$row['base_iron'].")";
?>
</div>
<div style="color:yellow;background:green;width:25%;float:left;font-size:16px;">
<?php echo "Wood = ".$row['wood_stock']." (+".$row['base_wood'].")"; ?>
</div>
<div style="color:yellow;background:green;width:25%;float:left;font-size:16px;">
<?php echo "Rock = ".$row['rock_stock']." (+".$row['base_rock'].")"; ?>
</div>
<div style="color:yellow;background:green;width:25%;float:left;font-size:16px;">
<img src="../images/pop.png" /> <?php echo "".$row['pop']."/".$row['max_pop'].""; ?>
</div>